//package test.pcs;
//
//import com.google.gson.Gson;
//import com.payment.lc.pcs.client.wrap.bo.ProductionALLAttributes;
//import com.payment.lc.pcs.client.wrap.bo.ProductionLabelAttributes;
//import com.payment.lc.pcs.client.wrap.service.ProductionWrapService;
//import com.payment.lc.pcs.common.enums.BizType;
//import com.payment.lc.pcs.common.enums.GroupType;
//import com.payment.lc.pcs.service.api.AppSettingService;
//import com.payment.lc.pcs.service.api.JiMuProductionService;
//import com.payment.lc.pcs.service.api.MaintainService;
//import com.payment.lc.pcs.service.api.ProductionService;
//import com.payment.lc.pcs.service.domain.*;
//import com.payment.lc.pcs.service.query.JiMuQuery;
//import org.junit.After;
//import org.junit.Before;
//import org.junit.Test;
//import org.junit.runner.RunWith;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.test.context.ContextConfiguration;
//import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
//
//import java.text.SimpleDateFormat;
//import java.util.List;
//
///**
// * Created on 2016/8/8.
// */
//@RunWith(SpringJUnit4ClassRunner.class)
//@ContextConfiguration(locations = "classpath:context-ws.xml")
//public class PcsTest2 {
//
//    private static final Gson gson = new Gson();
//    private SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
//
//    @Autowired
//    ProductionService productionService;
//
//    @Autowired
//    ProductionWrapService productionWrapService;
//
//    @Autowired
//    JiMuProductionService jiMuProductionService;
//
//    @Test
//    public void test() {
//        test2();
//    }
//
//    void test1() {
//        String pCode = "002306";
//        Object production = productionService.getProduction(pCode);
//        print(production);
//    }
//
//    void test2() {
//        JiMuQuery query = new JiMuQuery();
////        query.setName("易");
//        query.setOrderBy("halfYearYield");
//        query.setStart(1);
//        query.setLimit(2);
//
//
//        System.out.println("jiMuProductionService = " + jiMuProductionService);
//        Object jiMuFunds = jiMuProductionService.getJiMuFundsProductions(query);
//        print(jiMuFunds);
//    }
//
//    public void print(Object object) {
//        System.out.println("value = " + gson.toJson(object));
//    }
//
//    @Before
//    public void before() {
//        System.out.println("--------------------------");
//        System.out.println("--------------------------");
//    }
//
//    @After
//    public void after() {
//        System.out.println("--------------------------");
//        System.out.println("--------------------------");
//    }
//}
